<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>业务部管理后台@yield('title')</title>
    <link rel="Shortcut Icon" href="{{asset('admin_assets/img/HB.ico') }}"/>
    <link rel="Bookmark" href="{{asset('admin_assets/img/HB.ico') }}"/>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="{{asset('admin_assets/css/bootstrap.min.css')}}">
    <link rel="stylesheet" type="text/css" href="{{asset('admin_assets/css/font-awesome/css/font-awesome.min.css')}}">
    <link rel="stylesheet" href="{{asset('admin_assets/css/AdminLTE.min.css')}}">
    <link rel="stylesheet" href="{{asset('admin_assets/css/skins/_all-skins.min.css')}}">
    <link rel="stylesheet" href="{{asset('admin_assets/css/bootstrap-datetimepicker.min.css')}}">
    <style>

    </style>
    @yield('style')
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
@section('header')<!--导航栏-->
    <header class="main-header">
        <a href="#" class="logo" style="background-color: #303643">
      <span class="logo-mini" style="background-color: #303643">
        <img src="{{asset('admin_assets/img/minilogo.png')}}" style="width: 40px;height: 40px">
      </span>
            <span class="logo-lg" style="background-color: #303643">
        <img src="{{asset('admin_assets/img/iplogo.png')}}" style="width: 150px;height: 35px">
      </span>
        </a>
        <nav class="navbar navbar-static-top" style="background-color: #303643">
            <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
                <span class="sr-only">业务部管理后台</span>
            </a>

            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">
                    <li class="dropdown user user-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                            <img src="{{asset('admin_assets/img/minilogo.png')}}" class="user-image"
                                 alt="">
                            <span class="hidden-xs">{{Session::get('real_name')}}</span>
                        </a>
                        <ul class="dropdown-menu">
                            <li class="user-header" style="background: #222D32">
                                <div style="margin-left: 35%;width: 80px;height: 80px;border-radius: 50%;">
                                    <img src="{{asset('admin_assets/img/minilogo.png')}}"
                                         style="width: 80px;height: 80px">
                                </div>
                                <p style="margin-top: 10%">{{Session::get('real_name')}}</p>
                            </li>
                            <li class="user-body">
                                <div class="row">
                                    <div class="col-xs-6 text-center">
                                        <a href="{{url('management/business/userInfo')}}">个人中心</a>
                                    </div>
                                    <div class="col-xs-6 text-center">
                                        <a href="{{url('management/business/changePassword')}}">修改密码</a>
                                    </div>
                                </div>
                            </li>
                            <li class="user-footer">
                                <div class="pull-right">
                                    <a href="{{url('management/business/loginOut')}}" class="btn btn-default btn-flat">退出登录</a>
                                </div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>
    </header>
@show<!--导航栏-->
@section('menu') <!--侧边栏-->
    <aside class="main-sidebar">
        <section class="sidebar">
            <ul class="sidebar-menu">
                <a href="#">
                    <li class="header" style="text-align: left;color: white"><h4>业务部管理中心</h4></li>
                </a>
                <li>
                    <a href="{{url('management/business/index')}}">
                        <i class="fa fa-home"></i>
                        <span>首页</span>
                        <i class="fa fa-angle-left pull-right"></i>
                    </a>
                </li>
                <li>
                    <a href="{{url('management/business/claim')}}">
                        <i class="fa fa-pied-piper-pp"></i>
                        <span>业务认领中心</span>
                        <span class="pull-right-container">
              <span class="label label-primary pull-right">{{$claimNum}}</span>
                       </span>
                    </a>
                </li>
                <li>
                    <a href="{{url('management/business/applyNotice')}}">
                        <i class="fa fa-file-text"></i>
                        <span>申请通知书</span>
                        <span class="pull-right-container">
              <span class="label label-warning pull-right">{{$replyNum}}</span>
                       </span>
                    </a>
                </li>

                <li>
                    <a href="{{url('management/business/deletedBusinessByUser')}}">
                        <i class="fa fa-file-text"></i>
                        <span>已删除业务</span>
                        <span class="pull-right-container">
                        <span class="label label-warning pull-right">{{$deleteNum}}</span>
                       </span>
                    </a>
                </li>
                <li>
                    <a href="{{url('management/business/IpPurchase')}}">
                        <i class="fa fa-file-text"></i>
                        <span>IP交易购买</span>
                        <span class="pull-right-container">
                       </span>
                    </a>
                </li>


            </ul>
        </section>
    </aside>
@show<!--侧边栏-->


    <!--内容区域-->
@yield('content')
<!--内容区域-->


@section('foot')<!--底部区域-->
    <footer class="main-footer" style="background-color: #eaeaea;text-align: center; font-size: 0.8vw;">
        Copyright &copy; 2018 <a href="http://www.hongbung.com" target="_blank">上海宏邦知识产权代理有限公司</a>
    </footer>
@show<!--底部区域-->
</div>
<!--底部引入js-->
<script src="{{asset('admin_assets/js/jquery.min.js')}}"></script>
<script src="{{asset('admin_assets/js/bootstrap.min.js')}}"></script>
<script src="{{asset('admin_assets/js/adminlte.min.js')}}"></script>
<script type="text/javascript" src="{{asset('admin_assets/js/bootstrap-datetimepicker.js')}}"></script>
<script src="{{asset('js/ip.js')}}"></script>
<!--底部引入js-->
@yield('javascript')
</body>
</html>
